<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <!--LINK HREF="estilo.css" TYPE="text/css" REL="stylesheet" /-->
        <title>Primeiro exemplo de JSF</title>
    </head>
    
<body bgcolor="white">  
  <div align="center">
    <h2>Primeiro Exemplo de JSF</h2>
    
    <f:view>
      <h:form id="frmAlunos">
        <h:inputText id="nome" value="#{alunos.nome}" />
        <h:commandButton id="enviar" value="Enviar" />
      </h:form>
      <h:outputText id="resultado" value="#{alunos.nome}" />
    </f:view>
    
    </div>   
</body>
</html>
